home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / edit / dte5_1.zip / DTE.HLP < prev    next >
Text File  |  1991-02-06  |  5KB  |  133 lines

  1. How to View Help:
  2. Type ^C (hold down the key usually labeled "CTRL" or "Control" and then type
  3. the key labeled "C") to see the next screen full of help. Type ^R to move back
  4. to earlier screens. Type ^KQ to leave help. Type ^KP to print help.
  5.  
  6. Background:
  7. This is a simple full-screen text editor suitable for editing program source
  8. code. It was designed with goals including:
  9.     1. To perform well over slow serial communication lines;
  10.     2. To imitate the command keys used in WordStar / Turbo Pascal.
  11. It is therefore expected that this editor will be particularly suitable for
  12. distance education students, who normally use Turbo Pascal (and hence are
  13. already familiar with the keystrokes required), and who also normally have
  14. to log in via 300/1200/2400 baud modems.
  15.  
  16. To edit a file called "test.p", use the command:
  17.     dte test.p
  18.  
  19. If "test.p" already exists, it will be loaded ready to edit.
  20. If it does not yet exist, dte will create a new empty file.
  21.  
  22. This editor was written by Douglas Thomson, a computing lecturer
  23. at Monash University College Gippsland. Any problems with this
  24. editor should be reported by e-mail to: doug@giaea.oz
  25.  
  26. Cursor Movement Commands:
  27.  ^X  - line down
  28.  ^E  - line up
  29.  ^D  - character right
  30.  ^S  - character left
  31.  ^F  - word right
  32.  ^A  - word left
  33.  ^C  - screen down
  34.  ^R  - screen up
  35.  ^QC - end of file
  36.  ^QR - beginning of file
  37.  ^QX - bottom of screen
  38.  ^QE - top of screen
  39.  ^QD - end of current line
  40.  ^QS - beginning of current line
  41.  ^QI - start of particular line in file
  42.  ^QB - beginning of marked block
  43.  ^QK - end of marked block
  44.  ^Q0 ... ^Q9 - move to marker 0 ... 9
  45.  ^Q[ - match forwards  - works with () {} [] '' "" /* */ begin end
  46.  ^Q] - match backwards - works with () {} [] '' "" /* */ begin end
  47.  ^QF - find text in file
  48.  ^QP - move to previous position
  49.  
  50. Screen Scrolling Commands:
  51.  ^Z  - scroll down one line
  52.  ^W  - scroll up one line
  53.  ^C  - scroll down one page
  54.  ^R  - scroll up one page
  55.  
  56. Search and Replace Commands:
  57.  ^QF - find
  58.  ^QA - replace
  59.  ^L  - repeat last find/replace
  60.  
  61. Find/Replace Options:
  62.  U   - ignore case
  63.  B   - search backwards
  64.  G   - scan entire file (global)
  65.  L   - scan marked block (local)
  66.  N   - replace without asking
  67.  M   - match case when replacing
  68.  W   - match entire words only
  69.  <n> - perform find/replace <n> times
  70.  
  71. Editing Search Strings (and file names):
  72.  ^S  - move cursor left
  73.  ^D  - move cursor right
  74.  ^E  - move to start of string
  75.  ^X  - move to end of string
  76.  ^Y  - delete all of string
  77.  ^R  - restore original string
  78.  ^G  - delete character under cursor
  79.  <BackSpace> - delete character to left of cursor
  80.  printable characters are inserted at the cursor
  81.  
  82. Block Commands:
  83.  ^KB - mark start of block
  84.  ^KK - mark end of block
  85.  ^KH - hide/unhide block
  86.  ^KC - copy marked block to cursor
  87.  ^KV - move marked block to cursor
  88.  ^KY - delete marked block
  89.  ^KW - write block to file
  90.  ^KR - read in a file at cursor
  91.  ^K@ - read in a file at cursor, expanding tabs etc
  92.  ^KP - print block or entire file
  93.  ^KI - indent block by current tab size
  94.  ^KU - unindent block by current tab size
  95.  
  96. File Commands:
  97.  ^KD - save file, then exit editor
  98.  ^KX - save file only if modified, then exit
  99.  ^KS - save file, continue editing
  100.  ^KT - save file under new name, continue editing
  101.  ^KQ - exit editor without saving
  102.  
  103. Text Insertion:
  104.  ^N  - insert new line at cursor, leave cursor on current line
  105.  <Enter> - insert new line at cursor, cursor moves to start of new line
  106.  printable characters are (in insert mode) inserted in front of the cursor
  107.  
  108. Text Deletion Commands:
  109.  <BackSpace> - delete character to left of cursor, move cursor left
  110.  ^G  - delete character under cursor, leave cursor stationary
  111.  ^Y  - delete current line
  112.  ^QY - delete from cursor to end of line
  113.  ^T  - delete from cursor to end of word
  114.  ^KY - delete marked block
  115.  
  116. Change Editing Modes:
  117.  ^V  - insert character in front of cursor / overwrite character at cursor
  118.  ^OI - indent new line to match previous / start new line at column 0
  119.  ^OU - <BackSpace> matches earlier indentation / deletes just one character
  120.  
  121. Window Commands:
  122.  ^OK - change to another window, or create a new window below cursor
  123.  ^OM - change the size of the current window
  124.  
  125. Miscellaneous Commands:
  126.  ^U or <ESC> - abort current command
  127.  ^J  - obtain on-screen help
  128.  ^QL - restore current line
  129.  ^K0 ... ^K9 - set position marker 0 ... 9
  130.  ^\  - redraw entire display (useful if screen gets garbled)
  131.  ^OT - set tab stop interval
  132.  ^KF - shell out to operating system
  133.